package com.acoreful.acf2java.admin.modules.auth.support.security;

import com.acoreful.acf2java.commons.security.AesUtils;

public class Encryption {

    private String aesKey;
    
    
    public Encryption(String aesKey) {
		super();
		this.aesKey = aesKey;
	}

	public String aesEncrypt(String str) {
        return AesUtils.aesEncrypt(str, aesKey);
    }
    
    public String aesDecrypt(String str) {
        return AesUtils.aesDecrypt(str, aesKey);
    }
    
    
}
